//
//  GoodsAttributePopView.h
//  TerritoryShopkeeper
//
//  Created by 黄德玉 on 2018/6/7.
//  Copyright © 2018年 ZDQK. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger,GoodsAttributePopType) {
    GoodsAttributePopTypeCommon = 0,        //通用弹窗，底部是加入购物车和立即购买按钮
    GoodsAttributePopTypeAddCart,           //加入购物车弹窗，里面只有一个加入购物车按钮
    GoodsAttributePopTypeBuy                //立即购买按钮
};

@interface GoodsAttributePopView : UIView

+ (void)showWithData:(id)data popType:(GoodsAttributePopType)type actionCallback:(void (^)(id value))callback;

@end

@interface GoodsSKUChooseView : UIView

- (void)loadItems:(NSArray *)items;

@property (nonatomic,copy) void (^didSelectItem)(id data);

@end



